﻿@model int
@{
    IList<string> lstLink = new List<string>(){
    "href="+Url.Action("TeacherList","UserInfo"),   //教师用户管理
    "href="+Url.Action("CourseInfoList","CourseInfo"),      //精品课程管理
    "href="+Url.Action("AdminPersonalInfo","UserInfo")  //个人信息
};

    lstLink[Model] = "class=current href=javascript:void(0)";
    int i = 0;
    <div class="container-fluid yue-nav mb15">
        <div class="container">
            <div class="row">
                <ul>
                    <li><a target="_blank" href='@Url.Action("Index","Home")'>课程群首页</a></li>
                    <li><a @lstLink[i++]>教师用户管理</a></li>
                    <li><a @lstLink[i++]>精品课程管理</a></li>
                    <li><a @lstLink[i++]>个人信息</a></li>                
                </ul>
            </div>
        </div>
    </div>
}